<!doctype html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
        <meta name="apple-mobile-web-app-capable" content="yes" />
        <meta names="apple-mobile-web-app-status-bar-style" content="black-translucent" />

        <?php include_http_metas() ?>
        <?php include_metas() ?>
        <?php include_title() ?>
        <?php include_stylesheets() ?>
        <?php include_javascripts() ?>

        <!--[if lte IE 9]>
                <script src="/js/plugins/placeholder/jquery.placeholder.min.js"></script>
                <script>
                        $(document).ready(function() {
                                $('input, textarea').placeholder();
                        });
                </script>
        <![endif]-->
        <link rel="shortcut icon" href="/img/favicon.ico" />
        <link rel="apple-touch-icon-precomposed" href="/img/apple-touch-icon-precomposed.png" />

    </head>

    <body data-layout-sidebar="fixed" data-layout-topbar="fixed">
        <div id="navigation">
            <div class="container-fluid">
                <a href="#" id="brand">Retail Brain</a>
                <a href="#" class="toggle-nav" rel="tooltip" data-placement="bottom" title="Ocultar Menú"><i class="icon-reorder"></i></a>
                <ul class='main-nav'>
                    <li class='dropdown'>
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Locales <span class="caret"></span></a>
                        <?php
                        if ($sf_user->isAuthenticated()) {
                            include_component("login", "stores");
                        }
                        ?>
                        
                    </li>
                    <li>
                       <?php
                        if ($sf_user->isAuthenticated()) {
                            include_component("login", "storesName");
                        }
                        ?>
                    </li>
                </ul>
                <?php
                if ($sf_user->isAuthenticated()) {
                    include_component("login", "menuUser");
                }
                ?>
            </div>
        </div>
        <div class="container-fluid" id="content">
            <div id="left">
                <?php
                if ($sf_user->isAuthenticated()) {
                    include_component("login", "menu");
                }
                ?>
            </div>

            <?php echo $sf_content ?>
        </div>

    </body>

</html>
